import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'// 重置样式
import '@/styles/common.less'// 公用样式
import componentPlugin from '@/components'
import deactives from './directives/index'// 懒加载
// store.commit('user/setProfile')
// 注册插件
// 创建一个vue应用实例
createApp(App).use(store).use(router).use(componentPlugin).use(deactives).mount('#app')
